package com.yoj.model.dto.user;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

/**
 * 用户创建请求参数
 */
@Data
@ApiModel(value = "用户创建请求参数")
public class UserAddRequest implements Serializable {

    @ApiModelProperty(value = "用户昵称")
    private String userName;

    @ApiModelProperty(value = "账号")
    private String userAccount;

    @ApiModelProperty(value = "用户头像")
    private String userAvatar;

    @ApiModelProperty(value = "用户角色: user, admin")
    private String userRole;

    private static final long serialVersionUID = 1L;
}